package com.pro.service.imple;

import com.pro.mapper.JsAuditLogMapper;
import com.pro.pojo.JsAuditLog;
import com.pro.pojo.SyCourseRecord;
import com.pro.service.JsAuditLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JsAuditLogServiceImple implements JsAuditLogService {

    @Autowired
    private JsAuditLogMapper jam;

    @Override
    public List<JsAuditLog> getJsAuditLogList(JsAuditLog jsAuditLog) {
        return jam.getJsAuditLogList(jsAuditLog);
    }

    @Override
    public boolean deleteJsAuditLog(Integer auditLogId) {
        return jam.deleteJsAuditLog(auditLogId);
    }

    @Override
    public List<JsAuditLog> getJsAuditLogType(JsAuditLog jsAuditLog) {
        return jam.getJsAuditLogType(jsAuditLog);
    }

    @Override
    public boolean addAuditLog(SyCourseRecord syCourseRecord) {
        return jam.addAuditLog(syCourseRecord);
    }

    @Override
    public boolean addJsAuditLog(JsAuditLog param) {
        return jam.addJsAuditLog(param);
    }

    @Override
    public List<JsAuditLog> getJsAuditLogListAll(JsAuditLog jsAuditLog) {
        return jam.getJsAuditLogListAll(jsAuditLog);
    }
}
